use serde::Deserialize;

#[derive(Debug,Deserialize)]
pub enum OneOrSome<T> {
    One(T),
    Some(Vec<T>),
}

#[derive(Debug,Deserialize)]
pub enum NoneOrSome<T> {
    Unspecified,
    None,
    One(T),
    Some(Vec<T>),
}

#[derive(Debug,Deserialize)]
pub enum NoneOrOne<T> {
    Unspecified,
    None,
    One(T)    
}